package com.ctrip.study.refactor.extractClass;

public class Person {

	private String _name;

	private TelephoneNumber _officeTelephone = new TelephoneNumber();

	public String getName() {
		return _name;
	}

	public String getTelephoneNumber() {
		return ("(" + getOfficeAreaCode() + ") " + getOfficeNumber());
	}

	String getOfficeAreaCode() {
		return _officeTelephone.getAreaCode();
	}

	void setOfficeAreaCode(String arg) {
		_officeTelephone.setAreaCode(arg);
	}

	String getOfficeNumber() {
		return _officeTelephone.getOfficeNumber();
	}

	void setOfficeNumber(String arg) {
		_officeTelephone.setOfficeNumber(arg);
	}

}
